package com.carmeth.sudoqu;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class Game extends Activity {

	private static final String TAG = "Game";

	public static final String KEY_DIFFICULTY = "com.carmeth.sudoqu.difficulty";
	public static final int DIFFICULTY_EASY = 0;
	public static final int DIFFICULTY_MEDIUM = 1;
	public static final int DIFFICULTU_HARD = 2;

	private int puzzle[] = new int[9 * 9];
	
	private PuzzleView puzzleView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		Log.d(TAG, "onCreate");
		
		int diff=getIntent().getIntExtra(KEY_DIFFICULTY, DIFFICULTY_EASY);
		
//		puzzle=getPuzzle(diff);
//		calculateUsedTiles();
		
		puzzleView=new PuzzleView(this);
		setContentView(puzzleView);
		puzzleView.requestFocus();		
	}

	public String getTileString(int i, int j) {
		// TODO Auto-generated method stub
		return "1";
	}
}
